package Demo3;

import java.util.concurrent.Executor;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadPoolExecutor;

public class ThreadDemo2 {
    public static void main(String[] args) {
        // 构造固定数量的线程池
        ExecutorService pool =
                Executors.newFixedThreadPool(10);

    }
}
